default:
	@ :

foo := a.o b.o c.o
foo_sub := $(foo:.o=.c)
## static sub
foo_static_sub := $(foo:%.o=%.c)

sub:
	@ echo "foo_sub -> $(foo_sub)"
	@ echo "foo_static_sub -> $(foo_static_sub)"
